package com.dao;

import com.bean.Collect;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface CollectDao {

    public int add(String collectid, String userid, Integer flowerid, Date createtime);

    public List<Collect> queryByUserid(String userid);

    public int deleteByCollectid(String collectid);

    public int deleteByUserid(String userid);

    public List<Map<String, Object>> listquery(String userid);

   public Collect existsId(String userid, Integer flowerid);
}
